package com.ziyun.erp.modules.supp.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.supp.dao.SellerBusinessImageDao;
import com.ziyun.erp.modules.supp.entity.SellerBusinessImageEntity;
import com.ziyun.erp.modules.supp.service.SellerBusinessImageService;


@Service("sellerBusinessImageService")
public class SellerBusinessImageServiceImpl extends ServiceImpl<SellerBusinessImageDao, SellerBusinessImageEntity> implements SellerBusinessImageService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<SellerBusinessImageEntity> page = this.selectPage(
                new Query<SellerBusinessImageEntity>(params).getPage(),
                new EntityWrapper<SellerBusinessImageEntity>()
        );

        return new PageUtils(page);
    }

}
